var adminIndex = {};
adminIndex.methods={};
adminIndex.addEvent= function(obj){};
adminIndex.adta={};
$(function () {
    layui.use('element', function () {
        var element = layui.element;

        //…
    });
    //切换iframe 
    $("a[data-href]").click(function(e){
       e.stopPropagation();
       var href = $(this).attr("data-href");
       $("#shop-right-container").attr("src",href);
    });
});